package com.heaven.study.singleton;

/**
 * 优点：
 * 
 * LazySingleton 的缺点就是 HungrySingleton 的优点
 * 
 */
public class HungrySingleton implements Singleton {
    private static final HungrySingleton instance = new HungrySingleton();

    private HungrySingleton() {
    }

    public static HungrySingleton getInstance() {
        return instance;
    }
}